安装
换源
sed -i 's/ports.ubuntu.com/mirrors.ustc.edu.cn/g' sources.list
安装
apt update -y
apt install ubuntu-desktop
reboot
安装完成

卸载
apt remove ubuntu-desktop gnome* x11*
apt autoremove
reboot
又回到了字符界面

换源
sed -i 's/ports.ubuntu.com/mirrors.ustc.edu.cn/g' sources.list
安装
apt update -y
apt install ubuntu-desktop
reboot
安装完成

apt remove ubuntu-desktop gnome* x11*
apt autoremove
reboot
又回到了字符界面
